# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-languages
pkgver=0_git20230112
pkgrel=0
_commit="162f8cffeae4af2ddfd8f74efd3e2f8a04d455a5"
pkgdesc="Set of config files describing the languages that are available on AsteroidOS"
url="https://github.com/AsteroidOS/supported-languages"
# armhf blocked by nemo-qml-plugin-calendar
arch="noarch"
license="CC0-1.0"
source="$pkgname-$_commit.tar.gz::https://github.com/AsteroidOS/supported-languages/archive/$_commit/supported-languages-$_commit.tar.gz
	"
options="!check" # No code to test
builddir="$srcdir/supported-languages-$_commit"

package() {
	echo $PWD
	find . -type f -name "*.conf" | while read -r i; do
		echo $i
		install -Dm644 $i "$pkgdir"/usr/share/jolla-supported-languages/$i
	done
}

sha512sums="
9dd3bfd6990532d2a41564d8fe47e2f7b04f88799e0723d8c90addaca44d593c2a93dfa919ff3fe1a34bdc9f2b6d6b2c94ac0e0e832e499c52ad9fcfe09452b0  asteroid-languages-162f8cffeae4af2ddfd8f74efd3e2f8a04d455a5.tar.gz
"
